<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header"><?php echo __('All Location')?></h1>
        </div>
        <p>
            <a href="<?php echo $this->Html->url('/location/addlocation') ?>" class="btn btn-primary" ><?php echo __('Create Location') ?></a>
        </p>
        <div class="col-lg-12">
            <div class="row">
               
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            Striped Rows
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th><?php echo __('Location Name') ?></th>
                                            <th><?php echo __('Location Parent') ?></th>
                                            <th><?php echo __('Create Date') ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php echo $categories;?>
                                    </tbody>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
            </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
</div>
<!-- /#page-wrapper -->